//package com.xd.hbsys.station;
//
//import java.util.ArrayList;
//import java.util.Collection;
//
//import com.alibaba.fastjson.JSONArray;
//import com.alibaba.fastjson.JSONObject;
//
//import java.io.Serializable;
//
//
//public class Station {
//
//	Station(){
//		name = "";
//		lon = -1;
//		lat = -1;
//		pm10 = -1.0f;
//		pm25 = -1.0f;
//		so2 = -1.0f;
//		no2 = -1.0f;
//		o3 = -1.0f;
//		co = -1.0f;
//		aqi = -1.0f;
//	
//	}
//	Station(String n,
//			double l1,
//			double l2,
//			double f1,
//			double f2,
//			double f3,
//			double f4,
//			double f5,
//			double f6,
//			double f7
//			){
//		name = n;
//		lon = l1;
//		lat = l2;
//		pm10 = f1;
//		pm25 = f2;
//		so2 =  f3;
//		no2 = f4;
//		co = f5;
//		o3 = f6;
//		aqi = f7;
//
//	}
//	Station(String n,
//			String n2,
//			double l1,
//			double l2,
//			double f1,
//			double f2,
//			double f3,
//			double f4,
//			double f5,
//			double f6,
//			double f7
//		
//			){
//		name = n;
//		lon = l1;
//		lat = l2;
//		pm10 = f1;
//		pm25 = f2;
//		so2 =  f3;
//		no2 = f4;
//		co = f5;
//		o3 = f6;
//		aqi = f7;
//
//		this.code = n2;
//	}
//	
//	public String name;
//	public String code;
//	public double lon;
//	public double lat;
//	public double pm10;
//	public double pm25;
//	public double so2;
//	public double no2;
//	public double co;
//	public double o3;
//	public double aqi;
//
//
//	public String getName() {
//		return name;
//	}
//
//
//	public void setName(String name) {
//		this.name = name;
//	}
//
//	public String getCode() {
//		return code;
//	}
//	public void setCode(String code) {
//		this.code = code;
//	}
//	
//	public double getLon() {
//		return lon;
//	}
//
//
//	public void setLon(double lon) {
//		this.lon = lon;
//	}
//
//
//	public double getLat() {
//		return lat;
//	}
//
//
//	public void setLat(double lat) {
//		this.lat = lat;
//	}
//
//
//	public double getPm10() {
//		return pm10;
//	}
//
//
//	public void setPm10(double pm10) {
//		this.pm10 = pm10;
//	}
//
//
//	public double getPm25() {
//		return pm25;
//	}
//
//
//	public void setPm25(double pm25) {
//		this.pm25 = pm25;
//	}
//
//
//	public double getSo2() {
//		return so2;
//	}
//
//
//	public void setSo2(double so2) {
//		this.so2 = so2;
//	}
//
//
//	public double getNo2() {
//		return no2;
//	}
//
//
//	public void setNo2(double no2) {
//		this.no2 = no2;
//	}
//
//
//	public double getCo() {
//		return co;
//	}
//
//
//	public void setCo(double co) {
//		this.co = co;
//	}
//
//
//	public double getO3() {
//		return o3;
//	}
//
//
//	public void setO3(double o3) {
//		this.o3 = o3;
//	}
//
//
//	public double getAqi() {
//		return aqi;
//	}
//
//
//	public void setAqi(double aqi) {
//		this.aqi = aqi;
//	}
//
//	private static ArrayList g_station_gk = null;
//	public static String getStationDataGK(){
//		
//		if(g_station_gk == null){
//			g_station_gk = new ArrayList();
//	        g_station_gk.add(new Station("市监测站","41010101",113.5991,34.67,352,258,33,104,2.731,5,203));
//	        g_station_gk.add(new Station("烟厂","41010102",113.681,34.7545,353,263,32,99,2.794,5,205));
//	        g_station_gk.add(new Station("河医大","41010103",113.6356,34.7538,358,270,29,94,2.882,5,212));
//	        g_station_gk.add(new Station("郑纺机","41010104",113.641,34.7745,366,276,28,91,2.927,5,223));
//	        g_station_gk.add(new Station("银行学校","41010105",113.675,34.8019,380,276,29,90,2.99,5,243));
//	        g_station_gk.add(new Station("供水公司","41010106",113.564,34.802,383,282,31,88,3.059,5,248));
//	        g_station_gk.add(new Station("岗李水库","41010107",113.611277,34.91622,373,286,34,88,3.118,5,233));
//	        g_station_gk.add(new Station("经开区管委","41010108",113.73325,34.717536,370,280,36,90,3.163,5,229));
//	        g_station_gk.add(new Station("四十七中","41010109",113.73984,34.772247,380,292,32,94,3.385,5,243));
//	        g_station_gk.add(new Station("河大一附院","41020201",114.3405556,34.80222222,407,304,30,91,3.427,5,282));
//	        g_station_gk.add(new Station("妇幼保健院","41020301",114.3733333,34.7975,413,324,28,97,3.563,5,290));
//	        g_station_gk.add(new Station("世纪星幼儿园","41021101",114.2886111,34.79666667,489,388,41,114,3.707,6,387));
//	        g_station_gk.add(new Station("市监测站","41030101",112.4333333,34.67,523,399,41,120,3.612,7,423));
//	        g_station_gk.add(new Station("开发区管委会","41030102",112.3844444,34.62305556,515,398,40,126,3.57,8,415));
//	        g_station_gk.add(new Station("豫西宾馆","41030103",112.4663889,34.68694444,511,402,39,128,3.47,8,411));
//	        g_station_gk.add(new Station("市委党校","41030104",112.3938889,34.65111111,514,398,40,131,3.414,6,414));
//	        g_station_gk.add(new Station("市委新办公区","41030105",112.4275,34.62583333,506,392,39,127,3.399,5,406));
//	        g_station_gk.add(new Station("河南林校","41030106",112.4830556,34.68694444,491,386,41,123,3.469,5,389));
//	        g_station_gk.add(new Station("中信二小","41030107",112.3627778,34.66916667,491,388,45,122,3.722,5,389));
//	        g_station_gk.add(new Station("高压开关厂","41040101",113.3063889,33.72138889,498,381,43,121,3.954,5,398));
//	        g_station_gk.add(new Station("平顶山工学院","41040102",113.1819444,33.737,507,390,41,123,4.285,5,407));
//	        g_station_gk.add(new Station("规划设计院","41040103",113.2916667,33.739,524,391,43,120,4.335,5,424));
//	        g_station_gk.add(new Station("新华旅馆","41040104",113.3219444,33.721,511,370,45,115,4.223,5,411));
//	        g_station_gk.add(new Station("棉研所","41050101",114.482,36.061,508,369,45,104,4.041,5,408));
//	        g_station_gk.add(new Station("红庙街","41050102",114.482,36.086,468,352,43,97,3.877,5,360));
//	        g_station_gk.add(new Station("银杏小区","41050103",114.358,36.087,425,347,37,89,3.933,5,307));
//	        g_station_gk.add(new Station("铁佛寺","41050104",114.286,36.11,414,318,33,83,3.903,5,292));
//	        g_station_gk.add(new Station("环保局","41050105",114.3930556,36.08833333,362,292,36,81,3.761,5,218));
//	        g_station_gk.add(new Station("市交警支队","41060101",114.2955556,35.75111111,325,277,36,76,3.573,5,188));
//	        g_station_gk.add(new Station("市监测站","41060102",114.17,35.90194444,293,261,29,68,3.65,5,172));
//	        g_station_gk.add(new Station("迎宾馆","41060103",114.2877778,35.73055556,287,249,21,70,3.849,5,169));
//	        g_station_gk.add(new Station("环保东院","41070101",113.883,35.303,311,249,18,77,3.837,6,181));
//	        g_station_gk.add(new Station("开发区","41070102",113.884,35.272,341,264,17,78,3.829,6,196));
////	        g_station_gk.add(new Station("科技学院","41070103",113.926,35.279,374,301,18,82,3.849,7,235));
////	        g_station_gk.add(new Station("环保西院","41070104",113.836,35.279,396,322,20,91,3.954,9,266));
////	        g_station_gk.add(new Station("市环保局","41080201",113.227,35.213,403,332,23,97,3.996,11,276));
////	        g_station_gk.add(new Station("高新区政府","41084001",113.2463889,35.17638889,419,336,27,110,3.953,15,299));
////	        g_station_gk.add(new Station("市监测站","41081101",113.261,35.235,418,338,34,121,3.895,16,298));
////	        g_station_gk.add(new Station("影视城","41080202",113.1991667,35.259,406,329,34,128,3.886,13,280));
////	        g_station_gk.add(new Station("环保局","41090104",115.031,35.763,405,315,29,126,3.886,8,279));
////	        g_station_gk.add(new Station("油田运输公司","41090103",115.0627778,35.76722222,376,293,27,129,4.029,5,238));
////	        g_station_gk.add(new Station("油田物探公司","41090102",115.0772222,35.767,376,295,25,124,4.419,5,238));
////	        g_station_gk.add(new Station("泓天威","41090101",114.9905556,35.767,380,282,23,122,4.552,5,243));
////	        g_station_gk.add(new Station("环保局","41100103",113.8208333,34.03138889,367,281,24,120,5.005,5,225));
////	        g_station_gk.add(new Station("监测站","41100102",113.8330556,34.01166667,389,281,23,117,5.375,5,256));
////	        g_station_gk.add(new Station("开发区","41100101",113.7905556,33.99527778,396,260,22,110,5.645,6,266));
////	        g_station_gk.add(new Station("三五一五工厂","41110101",114.056,33.567,363,232,21,101,5.553,7,219));
////	        g_station_gk.add(new Station("漯河大学","41110102",114.005,33.568,332,206,21,94,5.51,5,191));
////	        g_station_gk.add(new Station("水利局","41110103",114.014,33.56527778,282,174,18,82,5.59,4,166));
////	        g_station_gk.add(new Station("广电局","41110104",112.5191667,32.99166667,209,153,17,79,5.455,5,130));
////	        g_station_gk.add(new Station("开发区","41120104",111.158,34.794,194,151,16,75,5.257,5,122));
////	        g_station_gk.add(new Station("市政府","41120103",111.1927778,34.77722222,206,161,17,74,5.129,5,128));
////	        g_station_gk.add(new Station("风景区","41120102",111.1488889,34.79972222,235,169,20,75,4.956,5,143));
////	        g_station_gk.add(new Station("二印","41120101",111.1858333,34.79166667,245,179,22,75,4.888,5,148));
////	        g_station_gk.add(new Station("气象站","41130105",112.5572778,33.027,271,199,25,80,5.014,5,161));
////	        g_station_gk.add(new Station("理工学院","41130104",112.55,32.96827778,300,212,25,86,5.217,6,175));
////	        g_station_gk.add(new Station("瓦房庄","41130103",112.5223611,33.01216944,314,226,29,102,5.316,6,182));
////	        g_station_gk.add(new Station("汉画馆","41130102",112.5002778,32.9735,341,240,36,125,5.254,7,196));
////	        g_station_gk.add(new Station("环保局","41130101",112.5192,32.99166667,353,244,39,135,4.571,10,205));
////	        g_station_gk.add(new Station("粮食局","41140104",115.6558333,34.429,350,243,44,136,3.951,17,200));
////	        g_station_gk.add(new Station("第三人民医院","41140103",115.6577778,34.402,346,246,39,138,3.476,41,198));
////	        g_station_gk.add(new Station("睢阳区环保局","41140102",115.6386111,34.407,316,253,41,125,3.122,44,183));
////	        g_station_gk.add(new Station("环境监测站","41140101",115.6697222,34.42861111,302,266,45,121,2.847,47,176));
////	        g_station_gk.add(new Station("平桥分局","41150301",114.1044444,32.134,310,268,47,131,2.88,32,180));
////	        g_station_gk.add(new Station("南湾水厂","41150203",114.0122222,32.138,345,276,54,142,2.981,16,198));
////	        g_station_gk.add(new Station("审计局","41150202",114.0613889,32.108,368,288,54,149,3.203,7,226));
////	        g_station_gk.add(new Station("市酿酒公司","41150201",114.077,32.119,375,302,44,144,3.51,5,236));
////	        g_station_gk.add(new Station("市运管处","41160104",114.654,33.635,372,308,40,135,3.614,5,232));
////	        g_station_gk.add(new Station("周口师范","41160103",114.67575,33.613,365,304,35,126,3.508,5,222));
////	        g_station_gk.add(new Station("川汇区环保局","41160102",114.6368611,33.598,365,302,35,116,3.538,5,222));
////	        g_station_gk.add(new Station("市环境监测站","41160101",114.6613056,33.61277778,360,297,28,108,3.508,5,215));
////	        g_station_gk.add(new Station("市彩印厂","41170103",114.0130556,33.00694444,370,295,24,98,3.43,5,229));
////	        g_station_gk.add(new Station("天方二分厂","41170102",113.996,32.996,352,255,22,92,3.336,5,203));
////	        g_station_gk.add(new Station("市一纸厂","41170101",114.018,32.965,301,232,19,87,3.285,5,176));
//		}
//		
//		JSONArray arr = new JSONArray();
//		for(int i =0; i < g_station_gk.size(); i++) {
//			Station st = (Station)g_station_gk.get(i);
//			JSONObject js = (JSONObject) JSONObject.toJSON(st);
//			arr.add(js);
//		}
//		
//		return arr.toJSONString();
//	}
//	
//	private static ArrayList g_station_sk = null;
//	public static String getStationDataSK(){
//		
//		if(g_station_sk == null){
//			g_station_sk = new ArrayList();
//			g_station_sk.add(new Station("巩义新环保局","A036S",113.017,34.753,256,183,16,70,3.274,6,153));
//			g_station_sk.add(new Station("巩义环保局","A037S",112.993,34.756,267,179,17,73,3.176,9,159));
//			g_station_sk.add(new Station("吉利环保分局","C008S",112.5730556,34.89916667,263,182,17,81,3.139,5,157));
//			g_station_sk.add(new Station("师范学院新校区","C009S",112.5408333,34.6025,277,187,17,85,3.072,6,164));
//			g_station_sk.add(new Station("龙门石窟研究院","C010S",112.4707111,34.55966389,288,190,17,86,2.98,7,169));
//			g_station_sk.add(new Station("黄河水利学院","B005S",114.3119444,34.82611111,287,191,17,87,2.923,5,169));
//			g_station_sk.add(new Station("技师学院","B006S",114.2486389,34.83058333,281,198,18,86,3.002,4,166));
//			g_station_sk.add(new Station("祥符区环保局","B008S",114.4311111,34.75343333,322,213,32,83,3.155,5,186));
//			g_station_sk.add(new Station("兰考环保局","B018S",114.8258333,34.83083333,356,223,40,79,3.244,5,209));
//			g_station_sk.add(new Station("兰考县展览馆","B019S",114.8347222,34.84361111,354,227,43,76,3.225,4,206));
//			g_station_sk.add(new Station("产业集聚区","B020S",114.8102778,34.79527778,344,226,45,76,3.201,4,197));
//			g_station_sk.add(new Station("大新区","F004S",114.2244444,35.65944444,364,225,39,76,3.12,4,220));
////			g_station_sk.add(new Station("鹤壁集乡政府","F005S",114.1463889,35.97333333,359,222,30,77,3.074,4,213));
////			g_station_sk.add(new Station("汝州市环保局","D025S",112.8419139,34.186275,340,219,28,79,3.062,4,195));
////			g_station_sk.add(new Station("汝州市技工学校","D026S",112.8425,34.18686111,342,218,29,82,3.101,5,196));
////			g_station_sk.add(new Station("管委会","E002S",114.4577778,36.09111111,354,226,34,80,3.207,5,206));
////			g_station_sk.add(new Station("实验中学","E009S",114.3702778,36.13527778,364,240,32,76,3.28,8,220));
////			g_station_sk.add(new Station("腊梅园","E010S",114.1711111,36.05527778,372,262,36,74,3.695,12,232));
////			g_station_sk.add(new Station("滑县党校","E021S",114.5093333,35.57675,366,241,39,65,3.864,20,223));
////			g_station_sk.add(new Station("滑县锦和新村","E022S",114.5331111,35.53891667,299,219,36,61,3.344,30,175));
////			g_station_sk.add(new Station("市政府","G021S",113.9189361,35.30423056,263,214,37,58,3.226,39,157));
////			g_station_sk.add(new Station("牧野湖","G023S",113.9031556,35.30916667,265,207,37,58,3.111,42,158));
////			g_station_sk.add(new Station("潞王陵站点","G024S",113.9186944,35.41647222,268,203,33,59,2.978,40,159));
////			g_station_sk.add(new Station("刘园村监测点","G032S",114.6552778,35.20277778,271,202,30,68,2.942,32,161));
////			g_station_sk.add(new Station("中医院监测点","G033S",114.7013889,35.20083333,271,205,28,80,3.002,20,161));
////			g_station_sk.add(new Station("太极体育中心","H005S",113.2725,35.20694444,266,202,28,89,3.051,13,158));
////			g_station_sk.add(new Station("马村区环保局","H006S",113.3155556,35.26833333,275,201,28,95,3.104,7,163));
////			g_station_sk.add(new Station("中站区财政局","H007S",113.1702778,35.23555556,299,204,29,97,3.155,6,175));
////			g_station_sk.add(new Station("经开区管委会","J005S",115.0130833,35.78297222,300,202,29,94,3.06,5,175));
////			g_station_sk.add(new Station("示范区","J006S",115.0256389,35.79927778,288,202,29,96,3.058,5,169));
////			g_station_sk.add(new Station("许昌学院","K004S",113.8613889,34.04416667,179,157,51,67,2.131,24,115));
////			g_station_sk.add(new Station("芙蓉广场","K005S",113.8488889,34.08388889,157,160,52,67,2.122,23,104));
////			g_station_sk.add(new Station("建安区兴业大厦","K006S",114.3865833,34.22144444,180,190,51,77,2.428,12,115));
////			g_station_sk.add(new Station("漯河五高","L004S",114.0056389,33.59983333,213,209,49,84,2.688,6,132));
////			g_station_sk.add(new Station("北大附中","L006S",113.9603056,33.55916667,267,235,49,87,3.177,7,159));
////			g_station_sk.add(new Station("清明李小学","L007S",114.0546667,33.53358333,278,246,48,88,3.361,10,164));
////			g_station_sk.add(new Station("市委党校","L008S",114.05875,33.59730556,291,229,52,86,3.227,14,171));
////			g_station_sk.add(new Station("阳光中学","M005S",111.2305556,34.76111111,284,194,56,82,2.861,21,167));
////			g_station_sk.add(new Station("陕州区政府","M006S",111.0969167,34.72302778,220,115,61,62,2.073,36,135));
////			g_station_sk.add(new Station("飞机场","R004S",112.6111111,32.98308333,132,66,61,46,1.428,48,91));
////			g_station_sk.add(new Station("培训中心","R007S",112.6076111,33.0335,94,53,51,45,1.261,54,72));
////			g_station_sk.add(new Station("皇路店老镇政府","R008S",112.6361389,33.25825,81,44,44,48,1.147,53,66));
////			g_station_sk.add(new Station("河南油田医院","R009S",112.6096944,32.67752778,79,40,41,60,1.143,42,65));
////			g_station_sk.add(new Station("高新区委员会","R010S",112.5435,33.03952778,88,43,37,81,1.27,23,69));
////			g_station_sk.add(new Station("环保局","R041S",112.0875,32.69722222,126,63,37,104,1.796,8,88));
////			g_station_sk.add(new Station("一高中","R042S",112.1177778,32.67861111,189,127,36,110,2.276,6,120));
////			g_station_sk.add(new Station("永城档案馆","N026S",116.4552778,33.94888889,279,184,34,111,2.728,6,165));
////			g_station_sk.add(new Station("永城市政府","N027S",116.4433333,33.93194444,316,204,37,108,2.676,5,183));
////			g_station_sk.add(new Station("市政府","S005S",114.09,32.14944444,313,221,41,104,2.76,5,182));
////			g_station_sk.add(new Station("职业技术学院","S006S",114.1383333,32.16305556,309,211,40,100,2.818,5,180));
////			g_station_sk.add(new Station("固始环保局","S028S",115.646633,32.187188,318,184,42,93,2.696,5,184));
////			g_station_sk.add(new Station("固始城关二里社区","S029S",115.6502,32.16805282,333,168,43,85,2.662,5,166));
////			g_station_sk.add(new Station("生态园","P004S",115.2080556,34.05055556,264,162,41,82,2.675,4,157));
////			g_station_sk.add(new Station("物流港区","P006S",115.3372222,33.88777778,232,137,43,77,2.443,5,141));
////			g_station_sk.add(new Station("环保局","P031S",115.8633333,34.43805556,209,135,42,75,2.565,5,130));
////			g_station_sk.add(new Station("中心医院","P032S",115.4527778,33.86611111,219,135,41,74,2.767,5,135));
////			g_station_sk.add(new Station("城乡一体化示范区","Q004S",113.96102,33.01432208,230,123,39,70,2.763,5,129));
////			g_station_sk.add(new Station("产业聚集区","Q005S",114.02665,32.95366,178,114,33,69,2.768,5,114));
////			g_station_sk.add(new Station("新环保局","Q030S",114.9401667,32.7555,204,152,27,70,3.222,6,127));
////			g_station_sk.add(new Station("环保局(拟搬迁)","Q031S",114.9760833,32.75444444,236,178,20,70,3.518,6,143));
////			g_station_sk.add(new Station("污水处理厂站","U001S",113.0569444,35.14694444,218,184,14,67,3.266,7,134));
////			g_station_sk.add(new Station("新行政区站","U002S",113.0052778,35.12555556,213,180,12,58,3.128,9,132));
////			g_station_sk.add(new Station("百货大楼站","U003S",112.9911111,35.15388889,245,184,14,54,2.981,12,148));
////			g_station_sk.add(new Station("三湖嘉园六中站","U004S",112.5138889,35.07388889,247,189,16,58,3.077,12,149));
////			g_station_sk.add(new Station("高新区站","U005S",112.6163889,35.05027778,288,198,16,61,3.146,11,169));
////			g_station_sk.add(new Station("尚学堂","D005C",113.1727,33.7738,250,195,17,62,3.164,10,150));
////			g_station_sk.add(new Station("高新区遵化党群中心","D006C",113.377766,33.6302,248,189,17,65,3.204,8,149));
//		}
//		JSONArray arr = new JSONArray();
//		for(int i =0; i < g_station_sk.size(); i++) {
//			Station st = (Station)g_station_sk.get(i);
//			JSONObject js = (JSONObject) JSONObject.toJSON(st);
//			arr.add(js);
//		}
//		
//		return arr.toJSONString();
//	}
//	
//}